<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>eRPC Generator (erpcgen): OptStrTokIter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">eRPC Generator (erpcgen)
   &#160;<span id="projectnumber">Rev. 1.7.4</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_opt_str_tok_iter.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_opt_str_tok_iter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OptStrTokIter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="options_8h_source.html">options.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OptStrTokIter:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_opt_str_tok_iter.png" usemap="#OptStrTokIter_map" alt=""/>
  <map id="OptStrTokIter_map" name="OptStrTokIter_map">
<area href="class_opt_iter_rwd.html" alt="OptIterRwd" shape="rect" coords="0,56,86,80"/>
<area href="class_opt_iter.html" alt="OptIter" shape="rect" coords="0,0,86,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a136c340dc49db3403f3a7eb673c9471f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a136c340dc49db3403f3a7eb673c9471f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>OptStrTokIter</b> (const char *tokens, const char *<a class="el" href="class_opt_str_tok_iter.html#ae529c947a35bfc50233379cb2c822a04">delimiters</a>=0)</td></tr>
<tr class="separator:a136c340dc49db3403f3a7eb673c9471f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85afcfa933f6fff8efc21ce4954da8c1"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opt_str_tok_iter.html#a85afcfa933f6fff8efc21ce4954da8c1">curr</a> (void)</td></tr>
<tr class="separator:a85afcfa933f6fff8efc21ce4954da8c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ed624ef6b27a8f8852eb243d3280d89"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ed624ef6b27a8f8852eb243d3280d89"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opt_str_tok_iter.html#a1ed624ef6b27a8f8852eb243d3280d89">next</a> (void)</td></tr>
<tr class="memdesc:a1ed624ef6b27a8f8852eb243d3280d89"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_opt_str_tok_iter.html#a1ed624ef6b27a8f8852eb243d3280d89" title="next() advances to the next item. ">next()</a> advances to the next item. <br /></td></tr>
<tr class="separator:a1ed624ef6b27a8f8852eb243d3280d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a567cea49a789e8ad7c8c4099e54f5905"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opt_str_tok_iter.html#a567cea49a789e8ad7c8c4099e54f5905">operator()</a> (void)</td></tr>
<tr class="separator:a567cea49a789e8ad7c8c4099e54f5905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96f93edaf23addf1978acfbcb77ccdfa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a96f93edaf23addf1978acfbcb77ccdfa"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opt_str_tok_iter.html#a96f93edaf23addf1978acfbcb77ccdfa">rewind</a> (void)</td></tr>
<tr class="memdesc:a96f93edaf23addf1978acfbcb77ccdfa"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_opt_str_tok_iter.html#a96f93edaf23addf1978acfbcb77ccdfa" title="rewind() resets the &quot;current-element&quot; to the first one in the &quot;list&quot; ">rewind()</a> resets the "current-element" to the first one in the "list" <br /></td></tr>
<tr class="separator:a96f93edaf23addf1978acfbcb77ccdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae529c947a35bfc50233379cb2c822a04"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opt_str_tok_iter.html#ae529c947a35bfc50233379cb2c822a04">delimiters</a> (void)</td></tr>
<tr class="separator:ae529c947a35bfc50233379cb2c822a04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2774fcc1a175733c60d644298b60d39e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2774fcc1a175733c60d644298b60d39e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>delimiters</b> (const char *delims)</td></tr>
<tr class="separator:a2774fcc1a175733c60d644298b60d39e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class to iterate through a string containing delimiter-separated tokens </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a85afcfa933f6fff8efc21ce4954da8c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * OptStrTokIter::curr </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_opt_str_tok_iter.html#a85afcfa933f6fff8efc21ce4954da8c1">curr()</a> returns the current item in the iterator without advancing on to the next item. If we are at the end of items then NULL is returned. </p>

<p>Implements <a class="el" href="class_opt_iter_rwd.html#a423096b4a0a327ba3d8b35affba27194">OptIterRwd</a>.</p>

</div>
</div>
<a class="anchor" id="ae529c947a35bfc50233379cb2c822a04"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* OptStrTokIter::delimiters </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_opt_str_tok_iter.html#ae529c947a35bfc50233379cb2c822a04">delimiters()</a> with NO arguments returns the current set of delimiters, If an argument is given then it is used as the new set of delimiters. </p>

</div>
</div>
<a class="anchor" id="a567cea49a789e8ad7c8c4099e54f5905"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * OptStrTokIter::operator() </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>operator() returns the current item in the iterator and then advances on to the next item. If we are at the end of items then NULL is returned. </p>

<p>Implements <a class="el" href="class_opt_iter_rwd.html#a96cea8a611e7ebe97ac98efb9e6cd612">OptIterRwd</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="options_8h_source.html">options.h</a></li>
<li>options.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">Copyright 2016-2020 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
